#include "actor/Uart.h"
#include "actor/DHT.h"
#include "rotor-light.hpp"

namespace rl = rotor_light;

namespace details {
using SupBase =
    rl::Supervisor<rl::SupervisorBase::min_handlers_amount, actor::Uart, actor::DHT>;
}

struct Supervisor : details::SupBase {
  using Parent = details::SupBase;

  void advance_start() override;

private:
  void heartbeat();
};

extern Supervisor sup;
